﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SHZY.Business.Entitys.Dto.defecthandle
{
    public class DefecthandleInfoOutput
    {
        /// <summary>
        /// GUID.
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 处理单号.
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 检验业务类型.
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 检验批ID.
        /// </summary>
        public string InspectionLotId { get; set; }

        /// <summary>
        /// 检验批编号.
        /// </summary>
        public string InspectionLot { get; set; }

        /// <summary>
        /// 批次号.
        /// </summary>
        public string BatchNumber { get; set; }

        /// <summary>
        /// 物料号.
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料描述.
        /// </summary>
        public string MaterialDes { get; set; }

        /// <summary>
        /// 供应商编码.
        /// </summary>
        public string Supplier { get; set; }

        /// <summary>
        /// 供应商描述.
        /// </summary>
        public string SupplierDes { get; set; }

        /// <summary>
        /// 来料数量.
        /// </summary>
        public int? IncomingQty { get; set; }

        /// <summary>
        /// 生产订单号.
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 生产数量.
        /// </summary>
        public int? ProductionQty { get; set; }

        /// <summary>
        /// 问题原因.
        /// </summary>
        public string Problem { get; set; }

        /// <summary>
        /// 使用决策.
        /// </summary>
        public string Decision { get; set; }

        /// <summary>
        /// 使用决策描述.
        /// </summary>
        public string DecisionName { get; set; }

        /// <summary>
        /// 备注.
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 状态.
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 不合格品处理单不良项目.
        /// </summary>
        public List<DefecthandleDetailModel>? DetailList { get; set; }

        /// <summary>
        /// 报检单.
        /// </summary>
        public object? inspection { get; set; }
    }
}
